Synchronise 2025.1 with upstream#213
Open
github-actions[bot] wants to merge 2 commits into
Open
Conversation
As noted in the referenced bug, we were previously not passing the user's context during a resize operation when looking up the target flavor. This means we end up using an admin context, which can find any flavor, including private ones we should not be able to see thus allowing resize to another project's private flavor. Simply passing the context to the lookup does the needed filtering. Assisted-By: Claude Opus 4.6 Closes-Bug: #2151256 Change-Id: I469688be203c319dd048d6a99057b8d98369de0e Signed-off-by: Dan Smith <dansmith@redhat.com> (cherry picked from commit ef7ddda) (cherry picked from commit 36dd74f) (cherry picked from commit 07deedd)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains a snapshot of 2025.1 from upstream stable/2025.1.